package com.fcscs.cservice.ws.client.reservationservice;

import org.apache.log4j.Logger;
import org.springframework.ws.client.core.support.WebServiceGatewaySupport;

import com.fcscs.cservice.ws.schema.reservationservice.UpdateRCRequest;
import com.fcscs.cservice.ws.schema.reservationservice.UpdateRCResponse;

public class UpdateRCClient extends WebServiceGatewaySupport {

	private static final Logger LOG = Logger.getLogger(UpdateRCClient.class);

	public UpdateRCResponse updateRC(UpdateRCRequest req) {
		UpdateRCResponse resp = (UpdateRCResponse) getWebServiceTemplate().marshalSendAndReceive(req);
		LOG.info("----------resv " + resp.getRCView());
		return resp;
	}

}
